#!/bin/bash
#export LC_CTYPE=zh_CN.UTF-8

ps x|grep python|egrep 'run.py 5002'|awk '{print $1}'|xargs sudo kill -9

#请根据自己virtualenv环境地址修改
source /home/env3/bin/activate

nohup python run.py 5002 >& /dev/null < /dev/null &